<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>

<body>
    <script>
        let obj = {
            INIT: '预选',
            WAIT_FOR_CONFIRM: '待确认',
            WAIT_FOR_ORDER: '待下单',
            ORDERED: '已下单',
            REMOVED: '已删除',
            RETURNED: '已退货',
        }
        let stutas = 'INIT'
        //属性也可以是变量呀
        //根据返回值 stutas 渲染文字 let stutas='INIT'怎么获取 “预选” 
        console.log(obj[stutas]);
    </script>
</body>

</html>